package com.java2001.service;


import com.java2001.pojo.User;

import java.text.ParseException;
import java.util.List;

public interface UserService {


    int insertUser(User user) throws ParseException;

    int deleteUser(String username);

    int updateUserById(User user);

    User queryUserById(String username);

    List<User> queryUserList();
}
